package com.ctsi.offlinesupport.app.rest.reponse;

import com.ctsi.offlinesupport.dto.AssterDTO;
import com.ctsi.offlinesupport.dto.MeetRecordDTO;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.HashSet;
import java.util.List;
import java.util.Set;

/**
 * @author: zhangjw
 * @Date: 2018/10/24 13:37
 * @Description: 支撑单详情页
 */
public class SupportDetialsResponse implements Serializable {
    private static final long serialVersionUID = 5013818673991141847L;

    private String actId;

    private String taskId;
    /**
     * 执行ID
     */
    private String executionId;

    private int isProvincial;

    private int isReported;

    private BaseSupportInfoResponse supportInfo = new BaseSupportInfoResponse();

    private ApplyUserInfoResponse userInfo = new ApplyUserInfoResponse();

    private Set<String> actions = new HashSet<>();

    private List<MeetRecordDTO> records = new ArrayList<>();

    private List<AssterDTO> assters = new ArrayList<>();

    private List<SupportorInfoResponse> supports = new ArrayList<>();

    public SupportDetialsResponse() {
    }

    public BaseSupportInfoResponse getSupportInfo() {
        return this.supportInfo;
    }

    public void setSupportInfo(BaseSupportInfoResponse supportInfo) {
        this.supportInfo = supportInfo;
    }

    public ApplyUserInfoResponse getUserInfo() {
        return this.userInfo;
    }

    public void setUserInfo(ApplyUserInfoResponse userInfo) {
        this.userInfo = userInfo;
    }

    public String getActId() {
        return this.actId;
    }

    public void setActId(String actId) {
        this.actId = actId;
    }

    public String getTaskId() {
        return this.taskId;
    }

    public void setTaskId(String taskId) {
        this.taskId = taskId;
    }

    public int getIsProvincial() {
        return this.isProvincial;
    }

    public void setIsProvincial(int isProvincial) {
        this.isProvincial = isProvincial;
    }

    public int getIsReported() {
        return this.isReported;
    }

    public void setIsReported(int isReported) {
        this.isReported = isReported;
    }

    public Set<String> getActions() {
        return this.actions;
    }

    public void setActions(Set<String> actions) {
        this.actions = actions;
    }

    public List<MeetRecordDTO> getRecords() {
        return this.records;
    }

    public void setRecords(List<MeetRecordDTO> records) {
        this.records = records;
    }

    public List<AssterDTO> getAssters() {
        return this.assters;
    }

    public void setAssters(List<AssterDTO> assters) {
        this.assters = assters;
    }

    public List<SupportorInfoResponse> getSupports() {
        return this.supports;
    }

    public void setSupports(List<SupportorInfoResponse> supports) {
        this.supports = supports;
    }

    public String getExecutionId() {
        return executionId;
    }

    public void setExecutionId(String executionId) {
        this.executionId = executionId;
    }
}
